package cn.kgc.dto;

import java.io.Serializable;

import lombok.*;

import java.util.Date;

import io.swagger.annotations.ApiModel;
import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import com.baomidou.mybatisplus.annotation.Version;
import com.fasterxml.jackson.annotation.JsonIgnore;

/**
 * spu信息(PmsSpuInfo)表实体类
 *
 * @author 石浩杰
 * @since 2022-12-05 09:38:35
 */
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel
@SuppressWarnings("serial")
public class PmsSpuInfoUpdateDTO implements Serializable {
    @ApiModelProperty(name = "id", value = "主键", dataType = "int")
    private Long id; //主键


    @ApiModelProperty(name = "spuName", value = "商品名称", dataType = "java.lang.String")
    private String spuName;    //商品名称


    @ApiModelProperty(name = "spuDescription", value = "商品描述", dataType = "java.lang.String")
    private String spuDescription;    //商品描述


    @ApiModelProperty(name = "catalogId", value = "所属分类id", dataType = "java.lang.Long")
    private Long catalogId;    //所属分类id


    @ApiModelProperty(name = "brandId", value = "品牌id", dataType = "java.lang.Long")
    private Long brandId;    //品牌id


    @ApiModelProperty(name = "weight", value = "${column.comment}", dataType = "java.lang.Double")
    private Double weight;


    @ApiModelProperty(name = "publishStatus", value = "上架状态[0 - 下架，1 - 上架]", dataType = "java.lang.Short")
    private Short publishStatus;    //上架状态[0 - 下架，1 - 上架]


    private int version;   //版本


}
